package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 评论记录对象 bs_comment
 *
 * @author ruoyi
 * @date 2023-11-25
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("bs_comment")
@ApiModel(value = "关系记录（关注、收藏、点赞）对象实体")
public class BsComment extends BaseEntity {

    private static final long serialVersionUID = 4830714345906661980L;

    @ApiModelProperty(value = "创建人id")
    @TableId(value = "id")
    private Long id;

    @ApiModelProperty(value = "strategy攻略 或其他")
    private String type;

    @ApiModelProperty(value = "创建人id")
    @TableField(value = "create_by_id", fill = FieldFill.INSERT)
    private Long createById;

    @ApiModelProperty(value = "目标id")
    private String aimId;

    @ApiModelProperty(value = "内容")
    private String content;

    @TableLogic(value = "0", delval = "1")
    @ApiModelProperty(value = "逻辑删除字段 0：正常 1：删除")
    private String delFlag;

}
